import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import PhPretty from "./pretty.vue";
import {
  PhModal,
  PhToast,
  PhColorPicker,
  PhDatetimePicker,
  PhNotification,
  PhMessage,
  PhGLoading,
  PhTooltip,
  Phoeon,
} from "./index";
/* eslint-disable */
declare module '@vue/runtime-core' {
    export interface ComponentCustomProperties extends Phoeon{
        
    }
}

createApp(App)
.component("PhPretty",PhPretty)
.use(PhTooltip)
.use(PhGLoading)
.use(PhNotification)
.use(PhModal)
.use(PhToast)
.use(PhColorPicker)
.use(PhMessage)
.use(PhDatetimePicker,{lang:"cn",theme:"dark"})
.use(router).mount(document.querySelector("#app") as HTMLElement)
